FROM python:3.6.4
WORKDIR /src
# add app
ADD . /src
# install requirements
RUN pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
ENV ROBOT_SECRET=SECfcc929fdad42ee44c1bc34f7d4298ea84d2c72985b8511aadc22be8c1b1049d5
ENV ROBOT_TOKEN=6f60ef02cccc6c4d168333d7df62818f3fbb7c746706d9d9702891bc0ebf04b3
ENV LOG_LEVEL=debug PROME_URL=http://120.79.152.213:3000/
# run server
CMD python app.py
